Better dependencies for the install target.
authorBernd Zeimetz <bernd@bzed.de>
Tue, 4 May 2010 23:42:06 +0000 (01:42 +0200)
committerBernd Zeimetz <bernd@bzed.de>
Tue, 4 May 2010 23:42:06 +0000 (01:42 +0200)
debian/rules

index 68bd20871c6457763d703d13f09381c74c098dd8..0f0dcbcdb854160ffcdebbedf74b207f643f1bf8 100755 (executable)
@@ -52,7 +52,8 @@ debian/gpsbabel.1: build-stamp
 gui/Makefile: $(QUILT_STAMPFN)
        cd gui && qmake-qt4
 
-build: build-stamp build-gui-stamp build-doc-stamp debian/gpsbabel.1
+BUILD_TARGETS = build-stamp build-gui-stamp build-doc-stamp debian/gpsbabel.1
+build: $(BUILD_TARGETS)
 
 build-stamp: configure-stamp 
        dh_testdir
@@ -100,7 +101,7 @@ clean-patched:
        rm -f gbversion.h
        dh_clean 
 
-install: build-stamp build-gui-stamp
+install: $(BUILD_TARGETS)
        dh_testdir
        dh_testroot
        dh_prep